package com.atguigu.a_arrayinarray;

import java.util.Random;

public class Demo {
    public static void main(String[] args) {
        //定义二维数组
        int[][] arr = new int[2][3]; //arr : 引用
        System.out.println("arr = " + arr);//地址: [[I@404b9385


        String[][] names = {{"张三","李四","王五"},{"赵六","田七"}};
        System.out.println("names = " + names);//地址

        System.out.println("names[0][1] = " + names[0][1]);

        System.out.println("names[1][1] = " + names[1][1]);
        names[1][1] = "朱八";
        System.out.println("names[1][1] = " + names[1][1]);



    }
}
